package com.example.myapplication


import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.lib_base.base.activity.BaseAppBVMActivity
import com.example.lib_base.base.activity.BaseBVMActivity
import com.example.myapplication.databinding.ActivityMainBinding


class MainActivity : BaseAppBVMActivity<ActivityMainBinding, TestVm>() {
    override fun createViewModel(): TestVm {
     return  TestVm()
    }

    override fun getLayoutId(): Int {
      return R.layout.activity_main
    }

    override fun initialize(savedInstanceState: Bundle?) {
     viewModel.getCheckVersion()
    }


}